package com.coconut.domain.award.adapter.repository;

import com.coconut.domain.award.model.aggregate.GiveOutPrizesAggregate;
import com.coconut.domain.award.model.aggregate.UserAwardRecordAggregate;

/**
 * @Author YaoBoning
 * @Date 2024/10/12 10:59
 * @Description 奖品仓储服务
 */
public interface IAwardRepository {

    void saveUserAwardRecord(UserAwardRecordAggregate userAwardRecordAggregate);

    String queryAwardConfig(Integer awardId);

    void saveGiveOutPrizesAggregate(GiveOutPrizesAggregate giveOutPrizesAggregate);

    String queryAwardKey(Integer awardId);

}

